<%@page import="cn.edu.hpu.entity.Idea"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
	<head>
		<meta charset="UTF-8">
		<title>新PMS项目</title>
		<script type="text/javascript" src="bootstrap/jquery.js"></script>
		<link rel="stylesheet" type="text/css" href="bootstrap/bootstrap.min.css" />
		<style type="text/css">
			body{
				background-image:url("bootstrap/backgroundimg.png");
			}
			
			.div1{
				width:600px;
				height:auto;
				margin-top:10px;
				margin-left:35px;
			
			}
			hr{
			width:600px;
			border:1px solid black;
		}
	</style>
	</head>
	<body>
		
		<div class="div1">
			<h1>修改想法</h1>
			<hr/>
			<form class="form-horizontal" action="updateidea.jspx" method="post">
				<%
					Idea i = (Idea)request.getAttribute("idea");
				 %>
				<fieldset>
					<div class="control-group">
						<label class="control-label" for="input01">标题</label>
						<div class="controls">
							<input type="hidden" name="iid" value="<%=i.getIid() %>"/>
							<input type="text" class="span5" id="input01" name="ititle" value="<%=i.getItitle() %>">
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="input01">内容</label>
						<div class="controls">
							<textarea class="div1" name="icontent" id=""rows="15"><%=i.getIcontent() %></textarea>
						</div>
					</div>
					
					<div class="form-actions">
						<button type="submit" class="btn btn-primary">保存</button>
						<button class="btn" onclick="location.back()">返回</button>
					</div>
				</fieldset>
			</form>          
		</div>
	</body>
</html>